/// name : "5号楼"
/// qrcode : "https://qr.yytong.com/+Ty3VPC6l0OYaQxhQdfogg=="
/// remark : null
/// deleteStatus : 0
/// branchId : 6627
/// id : 27
/// createdBy : "8952"
/// createdDate : "2022-04-04 17:03:10"
/// updatedBy : "8952"
/// updatedDate : "2022-04-04 17:03:10"

class PatrolSiteList {
  PatrolSiteList({
      this.name, 
      this.qrcode, 
      this.remark, 
      this.deleteStatus, 
      this.branchId, 
      this.id, 
      this.createdBy, 
      this.createdDate, 
      this.updatedBy, 
      this.updatedDate,this.isWrite});

  PatrolSiteList.fromJson(dynamic json) {
    name = json['name'];
    qrcode = json['qrcode'];
    remark = json['remark'];
    deleteStatus = json['deleteStatus'];
    branchId = json['branchId'];
    id = json['id'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
    isWrite = json['isWrite'];
  }
  String? name;
  String? qrcode;
  dynamic remark;
  int? deleteStatus;
  int? branchId;
  int? id;
  String? createdBy;
  String? createdDate;
  String? updatedBy;
  String? updatedDate;
  num? isWrite;
PatrolSiteList copyWith({  String? name,
  String? qrcode,
  dynamic remark,
  int? deleteStatus,
  int? branchId,
  int? id,
  String? createdBy,
  String? createdDate,
  String? updatedBy,
  String? updatedDate,num? isWrite,
}) => PatrolSiteList(  name: name ?? this.name,
  qrcode: qrcode ?? this.qrcode,
  remark: remark ?? this.remark,
  deleteStatus: deleteStatus ?? this.deleteStatus,
  branchId: branchId ?? this.branchId,
  id: id ?? this.id,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
  isWrite: isWrite ?? this.isWrite,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['name'] = name;
    map['qrcode'] = qrcode;
    map['remark'] = remark;
    map['deleteStatus'] = deleteStatus;
    map['branchId'] = branchId;
    map['id'] = id;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    map['isWrite'] = isWrite;
    return map;
  }

}